package com.hzhjhh.view.manageView.navigations;

import javax.swing.tree.DefaultMutableTreeNode;

/**
 * 导航栏初始化-信息查询
 * @author 12083
 *
 */
public class InfoQueryInit {

	public static DefaultMutableTreeNode init() {
		DefaultMutableTreeNode mtnInfoQuery = new DefaultMutableTreeNode("信息查询");
		
		DefaultMutableTreeNode search1 = new DefaultMutableTreeNode("按商品名称查询");
		DefaultMutableTreeNode search2 = new DefaultMutableTreeNode("按商品编号查询");
		DefaultMutableTreeNode search3 = new DefaultMutableTreeNode("按商品条形码查询");
		DefaultMutableTreeNode search5 = new DefaultMutableTreeNode("按商品类别查询");
		mtnInfoQuery.add(search1);
		mtnInfoQuery.add(search2);
		mtnInfoQuery.add(search3);
		mtnInfoQuery.add(search5);
		
		DefaultMutableTreeNode sort1 = new DefaultMutableTreeNode("电器类查询");
		DefaultMutableTreeNode sort2 = new DefaultMutableTreeNode("礼品类查询");
		DefaultMutableTreeNode sort3 = new DefaultMutableTreeNode("日用类查询");
		DefaultMutableTreeNode sort4 = new DefaultMutableTreeNode("蔬果类查询");
		DefaultMutableTreeNode sort5 = new DefaultMutableTreeNode("食品类查询");
		DefaultMutableTreeNode sort6 = new DefaultMutableTreeNode("生鲜类查询");
		search5.add(sort1);
		search5.add(sort2);
		search5.add(sort3);
		search5.add(sort4);
		search5.add(sort5);
		search5.add(sort6);
		
		return mtnInfoQuery;
	}
}
